<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            
            width: 1160px;
            height: 154px;
            /* background-color:pink; */
            font-size: 0;
            margin: 0px auto;
            padding-top: 20px;
        }
        .card{
            display: inline-block;
            width: 275px;
            height: 136px;
            background-color: #fff;
            padding-right: 20px;
        }
        .bg{
            width: 275px;
            height: 104.98px;
            background-image: linear-gradient(
90deg
, #277be1 0%, #1db0e6 100%);
        }
        .bg img{
            width: 50px;
            height: 48.36px;
            
        }
        .bc{
            display: block;
            margin: 0 auto;
            padding-top: 25px;
        }
        .course{
            font-size: 14px;
            color: #333;
            margin-top: 8px;
        }
        .teacher{
            font-size: 12px;
            color: #999;
            margin-top: 4px;
        }
        .last{
            padding-right: 0px;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="card">
            <a href="">
                <div class="bg">
                    <img class="bc" src="http://www.bufanui.com/pages/front/img/h5_logo.png" alt="">
                </div>
            </a>
            <p class="course">HTML+CSS - 最新教程</p>
            <p class="teacher">主讲老师：张老师</p>
        </div><div class="card">
            <a href="">
                <div class="bg">
                    <img class="bc" src="http://www.bufanui.com/pages/front/img/ai_logo.png" alt="">
                </div>
            </a>
            <p class="course">HTML+CSS - 最新教程</p>
            <p class="teacher">主讲老师：张老师</p>
        </div>
        <div class="card">
            <a href="">
                <div class="bg">
                    <img class="bc" src="http://www.bufanui.com/pages/front/img/ae_logo.png" alt="">
                </div>
            </a>
            <p class="course">HTML+CSS - 最新教程</p>
            <p class="teacher">主讲老师：张老师</p>
        </div>
        <div class="card last">
            <a href="">
                <div class="bg">
                    <img class="bc" src="http://www.bufanui.com/pages/front/img/sketch_logo.png" alt="">
                </div>
            </a>
            <p class="course">HTML+CSS - 最新教程</p>
            <p class="teacher">主讲老师：张老师</p>
        </div>
    </div>
    
</body>
</html>